package com.ac.app.service;

import java.util.List;

import com.ac.app.dm.PickBase;
import com.ac.app.dm.PickEntry;
import com.ac.app.dm.PickLog;
import com.ac.app.dm.PickRecord;
import com.ac.app.dm.PickUrl;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright AgileCentury 2004</p>
 * <p>Company: AgileCentury </p>
 * @author <a href="mailto:ac@agilecentury.com">Agile</a>
 * @version 1.0
 */

public interface PickManager {
    public PickBase getPickBase();

    public void savePickLog(PickLog pickLog);

    public List getPickEntrys();

    public List getPickKeywords(String subCode);

    public String getHtmlContext(PickUrl puDm, String shotPath,String charset)
            throws Exception;

    public List getPickUrls(String valDate) throws Exception;
    
    public List getPickUrlsByDays(String valDays) throws Exception;

    public List getPickUrls(String[] ids);

    public boolean savePickRecord(PickEntry peDm,
                                  PickUrl puDm,
                                  List pkList,
                                  String shotPath) throws Exception;

    public boolean savePickRecord(PickEntry peDm,
                                  PickUrl puDm,
                                  String[] subCodes,
                                  String shotPath) throws Exception;
    
    public PickRecord getPickRecord(PickEntry peDm,
                                    PickUrl puDm,
                                    String shotPath,
                                    String keyCon) throws Exception;
}
